package com.example.blog.modules.system.dto;

import lombok.Data;
import java.util.List;
import java.util.Map;

@Data
public class DashboardDTO {
    // 用户统计
    private long totalUsers;
    private long activeUsers;
    private long newUsersToday;
    private long newUsersThisWeek;
    private long newUsersThisMonth;
    
    // 文章统计
    private long totalArticles;
    private long publishedArticles;
    private long draftArticles;
    private long newArticlesToday;
    private long newArticlesThisWeek;
    private long newArticlesThisMonth;
    
    // 互动统计
    private long totalViews;
    private long totalLikes;
    private long totalComments;
    
    // 分类统计
    private long totalCategories;
    
    // 标签统计
    private long totalTags;
    
    // 排行统计
    private List<CategoryStatDTO> topCategories;
    private List<TagStatDTO> topTags;
    
    // 趋势统计
    private Map<String, Long> userTrend;      // 用户增长趋势
    private Map<String, Long> articleTrend;   // 文章发布趋势
    private Map<String, Long> viewTrend;      // 访问量趋势
    private Map<String, Long> commentTrend;   // 评论趋势
} 